package admin.server.dao;

import org.apache.ibatis.annotations.Delete;

public interface OauthRefreshTokenDao {

    @Delete("delete from oauth_refresh_token where authentication in (select authentication from oauth_access_token where client_id=#{clientId}  and user_name=#{username})")
    void delete (String clientId,String username );
}
